package com.zzk.snake.util;

import com.zzk.snake.constant.Constant;

import java.awt.*;
import java.util.HashMap;
import java.util.Map;

public class ImageUtil {
	public static Map<String,Image> images = new HashMap<>();
	
	static{
		images.put("snake_body", GameUtil.getImage(Constant.IMG_PRE+"cangying6.png"));
		images.put("food", GameUtil.getImage(Constant.IMG_PRE+"shit3.png"));
		images.put("snake_head", GameUtil.getImage(Constant.IMG_PRE+"xiaofei5.png"));
		images.put("background", GameUtil.getImage(Constant.IMG_PRE+"cesuo1.jpg"));
		images.put("fail", GameUtil.getImage(Constant.IMG_PRE+"fail.png"));
	}
}
